package com.cloud.api.domain.job;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author 杨斌
 */
@Data
@TableName("t_vehicle_login")
@Schema(description = "车辆登录实体类")
@Builder
public class VehicleLogin implements Serializable {

    @TableField("login_time")
    @Schema(description = "车辆登入时间")
    private String loginTime;

    @TableField("login_serial_number")
    @Schema(description = "车辆登入流水号")
    private Integer loginSerialNumber;

    @TableField("dt")
    @Schema(description = "车辆登入日期")
    private String dt;

    @TableField("receive_time")
    @Schema(description = "服务器接受时间")
    private String receiveTime;

    @TableField("vin")
    @Schema(description = "车辆vin")
    private String vin;

    @TableField("iccid")
    @Schema(description = "ICCID")
    private String iccid;

    @TableField("rechargeable_subsystems_count")
    @Schema(description = "可充电储能子系统数")
    private Short rechargeableSubsystemsCount;

    @TableField("rechargeable_subsystems_length")
    @Schema(description = "可充电子系统编码长度")
    private Short rechargeableSubsystemsLength;

    @TableField("rechargeable_subsystems_codes")
    @Schema(description = "可充电储能系统编码集合")
    private List<String> rechargeableSubsystemsCodes;

    @TableField("record")
    @Schema(description = "车辆登入报文")
    private String record;

    @TableField("vehicle_type")
    @Schema(description = "车辆类型")
    private String vehicleType;
}

